package com.loyi.cloud.hbmis.domain;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

/**
 * 日数据
 * 
 * @author Lenovo
 *
 */
public class DayData {

	private long daydataid;

	@DateTimeFormat(pattern="yyyyMMddHHmmss")
	private Date datatime;

	@DateTimeFormat(pattern="yyyyMMddHHmmss")
	private Date uploadtime;

	private String ptid;
	private String deviceid;

	private double value;
	private double maxValue;
	private double minValue;

	private String pollcode;

	public long getDaydataid() {
		return daydataid;
	}

	public void setDaydataid(long daydataid) {
		this.daydataid = daydataid;
	}

	public Date getDatatime() {
		return datatime;
	}

	public void setDatatime(Date datatime) {
		this.datatime = datatime;
	}

	public Date getUploadtime() {
		return uploadtime;
	}

	public void setUploadtime(Date uploadtime) {
		this.uploadtime = uploadtime;
	}

	public String getPtid() {
		return ptid;
	}

	public void setPtid(String ptid) {
		this.ptid = ptid;
	}

	public String getDeviceid() {
		return deviceid;
	}

	public void setDeviceid(String deviceid) {
		this.deviceid = deviceid;
	}

	public double getValue() {
		return value;
	}

	public void setValue(double value) {
		this.value = value;
	}

	public double getMaxValue() {
		return maxValue;
	}

	public void setMaxValue(double maxValue) {
		this.maxValue = maxValue;
	}

	public double getMinValue() {
		return minValue;
	}

	public void setMinValue(double minValue) {
		this.minValue = minValue;
	}

	public String getPollcode() {
		return pollcode;
	}

	public void setPollcode(String pollcode) {
		this.pollcode = pollcode;
	}

}
